#!/bin/bash

source ./winvars.sh || exit 1

mkdir tmp
cd ..

dir=`pwd`

autoreconf -i || exit 1
cd build/tmp

../../configure \
--host=${CROSS} \
--enable-unittests || exit 1

make check -j16 2>../make2.log || exit 1
